package com.pro.service;

import com.pro.domain.Record;
import com.pro.domain.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    Map<String, Object> userLogin(String username, String password);

    User queryUserByRedis(String token); //查用户账号信息

    List<Record> queryUserSelfRecord(String token); //查用户自己的购票情况

    void BuyTickets(String token, Record record, String[] num);  //买票
}
